<?php

namespace App\Events\Company;

use App\Models\Company;
use Illuminate\Queue\SerializesModels;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Broadcasting\InteractsWithSockets;

class CreatedEvent
{
    use Dispatchable, InteractsWithSockets, SerializesModels;

    public $company;

    /**
     * Create a new event instance.
     *
	 * @param Company $company
     * @return void
     */
    public function __construct(Company $company)
    {
    	$this->company = $company;
    }
}
